.sim-tree {
  list-style: none;
  font-size: 14px;
  color: #333;
  padding: 5px;
}
.sim-tree ul,
.sim-tree li {
  margin: 0;
  padding: 0;
}
.sim-tree li {
  font-size: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.sim-tree li ul {
  flex: 1;
  flex-basis: 100%;
  width: 100%;
  display: none;
  margin-left: 15px;
}
.sim-tree ul.show,
.sim-tree li.show {
  display: block;
}
.sim-tree ul.none,
.sim-tree li.none {
  display: none;
}
.sim-tree li.disabled > a {
  color: #aaa;
  cursor: not-allowed;
}
.sim-tree li.disabled > a .sim-tree-checkbox {
  border-color: #eee;
}
.sim-tree a {
  flex: 1;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  vertical-align: top;
  line-height: 26px;
  position: relative;
  padding-left: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  height: 26px;
}
.sim-tree .sim-tree-spread {
  width: 20px;
  padding-left: 5px;
  box-sizing: border-box;
}
.sim-tree .sim-tree-spread.sim-hidden {
  visibility: hidden;
}
.sim-tree .sim-tree-spread,
.sim-tree a {
  cursor: pointer;
}
.sim-tree .sim-tree-spread {
  height: 26px;
}
.sim-tree .sim-loading {
  background: url('') center center no-repeat;
}
.sim-tree .sim-loading.sim-icon-d:before,
.sim-tree .sim-loading.sim-icon-r:before {
  display: none;
}
.sim-tree .sim-icon-d:before,
.sim-tree .sim-icon-r:before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  vertical-align: top;
  position: relative;
}
.sim-tree .sim-icon-r:before {
  border-left-width: 8px;
  border-left-color: #333;
  top: 7px;
}
.sim-tree .sim-icon-d:before {
  margin-left: -4px;
  border-top-color: #333;
  top: 10px;
}
.sim-tree .sim-tree-checkbox {
  display: inline-block;
  border: 1px solid #ccc;
  height: 16px;
  width: 16px;
  border-radius: 3px;
  box-sizing: border-box;
  text-align: center;
  line-height: 16px;
  background: #fff;
  color: #fff;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 4px;
}
.sim-tree .sim-tree-checkbox.sim-hide {
  display: none;
}
.sim-tree .sim-tree-checkbox.sim-tree-semi,
.sim-tree .sim-tree-checkbox.checked {
  border-color: #2b85e4;
  background-color: #2b85e4;
}
.sim-tree .sim-tree-checkbox.sim-tree-semi:after {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 2px;
  background: #fff;
  top: 6px;
  left: 3px;
}
.sim-tree .sim-tree-checkbox.checked {
  background-image: url('');
  background-repeat: no-repeat;
  background-position: center center;
}
